
$black:#050b27;
$blue:#4687f0;
$yellow:#fdd460;
$grey:#9b9da8;

/**
  iconfont 资源库地址  教育厅
 */

//@font-face {
//  font-family: 'iconfont';  /* project id 2287065 */
//  src: url('//at.alicdn.com/t/font_2287065_jecyefl7qzq.eot');
//  src: url('//at.alicdn.com/t/font_2287065_jecyefl7qzq.eot?#iefix') format('embedded-opentype'),
//  url('//at.alicdn.com/t/font_2287065_jecyefl7qzq.woff2') format('woff2'),
//  url('//at.alicdn.com/t/font_2287065_jecyefl7qzq.woff') format('woff'),
//  url('//at.alicdn.com/t/font_2287065_jecyefl7qzq.ttf') format('truetype'),
//  url('//at.alicdn.com/t/font_2287065_jecyefl7qzq.svg#iconfont') format('svg');
//}
@font-face {
  font-family: 'iconfont';  /* project id 2287065 */
  src: url('//at.alicdn.com/t/font_2287065_jecyefl7qzq.eot');
  src: url('//at.alicdn.com/t/font_2287065_jecyefl7qzq.eot?#iefix') format('embedded-opentype'),
  url('//at.alicdn.com/t/font_2287065_jecyefl7qzq.woff2') format('woff2'),
  url('//at.alicdn.com/t/font_2287065_jecyefl7qzq.woff') format('woff'),
  url('//at.alicdn.com/t/font_2287065_jecyefl7qzq.ttf') format('truetype'),
  url('//at.alicdn.com/t/font_2287065_jecyefl7qzq.svg#iconfont') format('svg');
}

/*--------------------公共样式-----------------------------*/
html, body, div, header, section, article, footer, p, span, a, h1, h2, h3, h4, h5, h6, ul, ol, li, dl, dt, dd, form, button, input, textarea, select, hr, legend, fieldset {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-box-sizing: border-box; /* Safari */
  -moz-box-sizing: border-box; /* Firefox */
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-text-size-adjust: 100%;
  -webkit-user-select: none;
  user-select: none;
  &.can-selected{
    -webkit-user-select: text !important;
    user-select: text !important;
  }
}

// 添加可以选择的css
.can-selected{
  div, header, section, article, footer, p, span, a, h1, h2, h3, h4, h5, h6, ul, ol, li, dl, dt, dd, form, button, input, textarea, select, hr, legend, fieldset {
    -webkit-user-select: auto !important;
    user-select: auto !important;
  }
}

html,body {
  font: 16px  "Hiragino Sans GB", "微软雅黑", "microsoft yahei", Arial, Helvetica, Arial, sans-serif;
  font-weight: 300 !important;
  line-height: 1;
  background: #fff;
  color:#050b27;
  height:100%;
}
::-webkit-scrollbar{
　display:none
}
body{
  overflow-y:auto;
  -webkit-overflow-scrolling: touch;
}

input, textarea, select {
font: 16px "pingFangSC", "Hiragino Sans GB", "微软雅黑", "microsoft yahei", Arial, Helvetica, Arial, sans-serif;
  -webkit-user-select: text;
  -ms-user-select: text;
  user-select: text;
  -webkit-appearance: none;
}

textarea {
  resize: none;
}

table {
  border-collapse: collapse;
}

em, i {
  font-style: normal;
}

li, ol {
  list-style: none;
}

.clearfix {
  *zoom: 1;
}


/*----------------------适配-----------------------------------*/
@media screen and (min-width: 250px) {
  html {
    font-size: 82%;
  }
}

@media screen and (min-width: 280px) {
  html {
    font-size: 92%;
  }
}

@media screen and (min-width: 320px) {
  html {
    font-size: 106.6666%;
  }
}

@media screen and (min-width: 360px) {
  html {
    font-size: 120%;
  }
}

@media screen and (min-width: 375px) {
  html {
    font-size: 125%;
  }
}

@media screen and (min-width: 400px) {
  html {
    font-size: 133.3333%;
  }
}

@media screen and (min-width: 414px) {
  html {
    font-size: 138%;
  }
}

@media screen and (min-width: 440px) {
  html {
    font-size: 146.6666%;
  }
}

@media screen and (min-width: 480px) {
  html {
    font-size: 160%;
  }
}

@media screen and (min-width: 520px) {
  html {
    font-size: 173.3333%;
  }
}

@media screen and (min-width: 560px) {
  html {
    font-size: 186.6666%;
  }
}

@media screen and (min-width: 600px) {
  html {
    font-size: 200%;
  }
}

@media screen and (min-width: 640px) {
  html {
    font-size: 213.3333%;
  }
}

@media screen and (min-width: 680px) {
  html {
    font-size: 226.6666%;
  }
}

@media screen and (min-width: 720px) {
  html {
    font-size: 240%;
  }
}

@media screen and (min-width: 760px) {
  html {
    font-size: 253.3333%;
  }
}

@media screen and (min-width: 800px) {
  html {
    font-size: 266.6666%;
  }
}

@media screen and (min-width: 1200px) {
  html {
    font-size: 400%;
  }
}

@media screen and (min-width: 1280px) {
  html {
    font-size: 426.6666%;
  }
}

/* ==================
          布局
 ==================== */

/*  -- flex弹性布局 -- */

.flex {
  display: flex;
}

.basis-xs {
  flex-basis: 20%;
}

.basis-sm {
  flex-basis: 40%;
}

.basis-df {
  flex-basis: 50%;
}

.basis-lg {
  flex-basis: 60%;
}

.basis-xl {
  flex-basis: 80%;
}

.flex-sub {
  flex: 1;
}

.flex-twice {
  flex: 2;
}

.flex-treble {
  flex: 3;
}

.flex-direction {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.align-start {
  align-items: flex-start;
}

.align-end {
  align-items: flex-end;
}

.align-center {
  align-items: center;
}

.align-stretch {
  align-items: stretch;
}

.self-start {
  align-self: flex-start;
}

.self-center {
  align-self: flex-center;
}

.self-end {
  align-self: flex-end;
}

.self-stretch {
  align-self: stretch;
}

.align-stretch {
  align-items: stretch;
}

.justify-start {
  justify-content: flex-start;
}

.justify-end {
  justify-content: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-around {
  justify-content: space-around;
}

/* grid布局 */

.grid {
  display: flex;
  flex-wrap: wrap;
}

.grid.grid-square {
  overflow: hidden;
}

.grid.grid-square .cu-tag {
  position: absolute;
  right: 0;
  top: 0;
  border-bottom-left-radius: 6upx;
  padding: 6upx 12upx;
  height: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.grid.grid-square>view>text[class*="cuIcon-"] {
  font-size: 52upx;
  position: absolute;
  color: #8799a3;
  margin: auto;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.grid.grid-square>view {
  margin-right: 20upx;
  margin-bottom: 20upx;
  border-radius: 6upx;
  position: relative;
  overflow: hidden;
}
.grid.grid-square>view.bg-img image {
  width: 100%;
  height: 100%;
  position: absolute;
}
.grid.col-1.grid-square>view {
  padding-bottom: 100%;
  height: 0;
  margin-right: 0;
}

.grid.col-2.grid-square>view {
  padding-bottom: calc((100% - 20upx)/2);
  height: 0;
  width: calc((100% - 20upx)/2);
}

.grid.col-3.grid-square>view {
  padding-bottom: calc((100% - 40upx)/3);
  height: 0;
  width: calc((100% - 40upx)/3);
}

.grid.col-4.grid-square>view {
  padding-bottom: calc((100% - 60upx)/4);
  height: 0;
  width: calc((100% - 60upx)/4);
}

.grid.col-5.grid-square>view {
  padding-bottom: calc((100% - 80upx)/5);
  height: 0;
  width: calc((100% - 80upx)/5);
}

.grid.col-2.grid-square>view:nth-child(2n),
.grid.col-3.grid-square>view:nth-child(3n),
.grid.col-4.grid-square>view:nth-child(4n),
.grid.col-5.grid-square>view:nth-child(5n) {
  margin-right: 0;
}

.grid.col-1>view {
  width: 100%;
}

.grid.col-2>view {
  width: 50%;
}

.grid.col-3>view {
  width: 33.33%;
}

.grid.col-4>view {
  width: 25%;
}

.grid.col-5>view {
  width: 20%;
}

.container-1200{
  max-width: 1200px;
  margin: auto;
  height: 100%;
}

.iconfont{
  font-family:"iconfont" !important;
  font-size:16px;font-style:normal;
  -webkit-font-smoothing: antialiased;
  -webkit-text-stroke-width: 0.2px;
  -moz-osx-font-smoothing: grayscale;
}
